home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / x / volume6 / xfig2 / patch6.5 < prev    next >
Encoding:
Internet Message Format  |  1993-04-28  |  18.4 KB

  1. From: envbvs@epb2.lbl.gov (Brian V. Smith)
  2. Newsgroups: comp.sources.x
  3. Subject: v06i085: xfig 2.0, Patch6, Part05/06
  4. Message-ID: <134791@sun.Eng.Sun.COM>
  5. Date: 24 Apr 90 22:28:49 GMT
  6. Approved: argv@sun.com
  7.  
  8. Submitted-by: envbvs@epb2.lbl.gov (Brian V. Smith)
  9. Posting-number: Volume 6, Issue 85
  10. Archive-name: xfig2/patch6.5
  11. Patch-To: xfig2: Volume 6, Issues 9-24, 34-36, 50-56
  12.  
  13. #! /bin/sh
  14. # This is a shell archive.  Remove anything before this line, then unpack
  15. # it by saving it into a file and typing "sh file".  To overwrite existing
  16. # files, type "sh file -c".  You can also feed this as standard input via
  17. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  18. # will see the following message at the end:
  19. #        "End of archive 5 (of 6)."
  20. # Contents:  xfig.man.diff
  21. # Wrapped by envbvs@epb2.lbl.gov on Tue Apr 24 11:56:48 1990
  22. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  23. if test -f 'xfig.man.diff' -a "${1}" != "-c" ; then 
  24.   echo shar: Will not clobber existing file \"'xfig.man.diff'\"
  25. else
  26. echo shar: Extracting \"'xfig.man.diff'\" \(16394 characters\)
  27. sed "s/^X//" >'xfig.man.diff' <<'END_OF_FILE'
  28. X*** xfig.man.old    Tue Apr 24 11:48:46 1990
  29. X--- xfig.man    Tue Apr 24 11:24:00 1990
  30. X***************
  31. X*** 21,28 ****
  32. X  .SH DESCRIPTION
  33. X  .I Xfig 
  34. X  is a menu-driven tool that allows the user to draw and manipulate objects
  35. X! interactively in an X window.  It runs under X version 11 release 3 or 4 and
  36. X! requires a three-button mouse.
  37. X  .I File 
  38. X  specifies the name of a file to be edited. The description of objects in
  39. X  the file will be read at the start of \fIxfig\fP. 
  40. X--- 21,29 ----
  41. X  .SH DESCRIPTION
  42. X  .I Xfig 
  43. X  is a menu-driven tool that allows the user to draw and manipulate objects
  44. X! interactively in an X window.  
  45. X! .B It runs under X version 11 release 4 only
  46. X! and requires a three-button mouse.
  47. X  .I File 
  48. X  specifies the name of a file to be edited. The description of objects in
  49. X  the file will be read at the start of \fIxfig\fP. 
  50. X***************
  51. X*** 30,80 ****
  52. X  The output from \fIxfig\fP can be printed in several ways:
  53. X  .PP
  54. X  .B Postscript -
  55. X! f2ps (\fIxfig\fP to \fIpostscript\fP translator) is used to produce a 
  56. X! .I postscript
  57. X! file from an \fIxfig\fP file.
  58. X! The 
  59. X! .I postscript
  60. X! file can be sent directly to a postscript printer.
  61. X  .PP
  62. X! .B troff -
  63. X  f2p (\fIxfig\fP to \fIpic\fP(1) translator, also known by its previous
  64. X  name \fIf2fp\fP(1L)) is used to translate \fIxfig\fP files into
  65. X  .IR pic (1)
  66. X  language.
  67. X! The resulting file may then be processed in the same manner as any other
  68. X  .I pic
  69. X! file.  Note that area fill, line thicknesses and multiple fonts are not
  70. X! supported by \fIftop\fP.
  71. X  .PP
  72. X! .B LaTeX -
  73. X! fig2latex (\fIxfig\fP to \fILaTeX\fP translator) produces a
  74. X! .I LaTeX
  75. X! file from an
  76. X! .I xfig
  77. X! file.
  78. X! This file contains
  79. X! .I LaTeX
  80. X! picture environment commands and can be
  81. X  processed along with other
  82. X  .I LaTeX
  83. X  commands.
  84. X! This program is in the \fITransFig\fP package available from
  85. X! svax.cs.cornell.edu via anonymous ftp.
  86. X! .PP
  87. X! .B PiCTeX -
  88. X! fig2tex (\fIxfig\fP to \fIPiCTeX\fP translator) produces a
  89. X  .I PiCTeX
  90. X! file from an
  91. X! .I xfig
  92. X! file.  This file contains macros that can be
  93. X! used with the
  94. X  .I PiCTeX
  95. X  environment under
  96. X  .I TeX
  97. X  or
  98. X  .I LaTeX.
  99. X! This is also available from the \fITransFig\fP package.
  100. X  .SH OPTIONS
  101. X  .TP
  102. X  .B \-ri
  103. X--- 31,88 ----
  104. X  The output from \fIxfig\fP can be printed in several ways:
  105. X  .PP
  106. X  .B Postscript -
  107. X! f2ps (\fIxfig\fP to \fIpostscript\fP translator) is used to produce
  108. X! \fIpostscript\fP from an \fIxfig\fP file.
  109. X! This can be sent directly to a postscript printer or a file.
  110. X  .PP
  111. X! .B Troff -
  112. X  f2p (\fIxfig\fP to \fIpic\fP(1) translator, also known by its previous
  113. X  name \fIf2fp\fP(1L)) is used to translate \fIxfig\fP files into
  114. X  .IR pic (1)
  115. X  language.
  116. X! The resulting output may then be processed in the same manner as any other
  117. X  .I pic
  118. X! file.  Note that area fill is not supported by \fIf2p\fP.
  119. X  .PP
  120. X! .B Note: 
  121. X! The \fIf2p\fP and \fIf2ps\fP translators will be eventually phased out
  122. X! because the \fITransFig\fP package from Micah Beck is a more general
  123. X! purpose translator for more graphics languages.
  124. X! The \fITransFig\fP package can be used as a back-end processor to xfig 
  125. X! to produce various types of output:
  126. X! .IP "LaTeX - "12 
  127. X! \fIfig2dev -L latex\fP translates \fIxfig\fP to \fILaTeX\fP
  128. X! picture environment commands which can be
  129. X  processed along with other
  130. X  .I LaTeX
  131. X  commands.
  132. X! .IP "Postscript -
  133. X! \fIfig2dev -L ps\fP produces a postscript output.
  134. X! .IP "Pic -
  135. X! \fIfig2dev -L pic\fP produces a pic output.
  136. X! .IP "PiCTeX -
  137. X! \fIfig2dev -L pictex\fP produces
  138. X  .I PiCTeX
  139. X! output.
  140. X! This contains macros that can be used with the
  141. X  .I PiCTeX
  142. X  environment under
  143. X  .I TeX
  144. X  or
  145. X  .I LaTeX.
  146. X! .IP "Others -
  147. X! fig2dev has options for these other languages:
  148. X! \fIbox\fP,
  149. X! \fIepic\fP,
  150. X! \fIeepic\fP,
  151. X! and \fIeepicemu\fP.
  152. X! .PP
  153. X! The \fITransFig\fP package is available from
  154. X! svax.cs.cornell.edu (directory /pub/fig) and from 
  155. X! sun.soe.clarkson.edu (directory /pub/transfig) via anonymous ftp.
  156. X! It is also available by mail from the Clarkson archive server.
  157. X! To find out about using the server, send the one-line message "help" to
  158. X! archive-server@sun.soe.clarkson.edu.
  159. X  .SH OPTIONS
  160. X  .TP
  161. X  .B \-ri
  162. X***************
  163. X*** 127,132 ****
  164. X--- 135,141 ----
  165. X  \fICLOSED SPLINE\fP, \fIELLIPSE\fP, \fIPOLYLINE\fP, \fIPOLYGON\fP,
  166. X  \fISPLINE\fP, and \fITEXT\fP.  A primitive can be moved, rotated,
  167. X  flipped, copied or erased.
  168. X+ The TEXT primitive cannot be rotated or flipped.
  169. X  A compound object is composed of primitive objects. The primitive objects
  170. X  that constitute a compound can not be individually modified, but they can
  171. X  be manipulated as an entity; a compound can be moved, rotated, flipped,
  172. X***************
  173. X*** 166,173 ****
  174. X  Remove all objects on the canvas window (can be undone).
  175. X  .TP
  176. X  .I Edit file ...
  177. X! The current contents of the canvas are cleared and objects
  178. X! are read from the specified file.
  179. X  The user will be asked for a file name.
  180. X  This file will become the current file.
  181. X  .TP
  182. X--- 175,182 ----
  183. X  Remove all objects on the canvas window (can be undone).
  184. X  .TP
  185. X  .I Edit file ...
  186. X! The current contents of the canvas are cleared and the figure
  187. X! is read from the specified file.
  188. X  The user will be asked for a file name.
  189. X  This file will become the current file.
  190. X  .TP
  191. X***************
  192. X*** 177,188 ****
  193. X  name as in the "Save in ..." function.
  194. X  .TP
  195. X  .I Read file ...
  196. X! Read objects from the specified file and merge them with objects already
  197. X  shown on the canvas.
  198. X  (The user will be asked for a file name.)
  199. X  .TP
  200. X  .I Save in ...
  201. X! Save objects on the screen into a file specified by the user.
  202. X  (The user will be asked for a file name.)
  203. X  If there is no current file name, it will be set to the name specified
  204. X  in the save.
  205. X--- 186,197 ----
  206. X  name as in the "Save in ..." function.
  207. X  .TP
  208. X  .I Read file ...
  209. X! Read figure from the specified file and merge it with the figure already
  210. X  shown on the canvas.
  211. X  (The user will be asked for a file name.)
  212. X  .TP
  213. X  .I Save in ...
  214. X! Save the figure on the screen into a file specified by the user.
  215. X  (The user will be asked for a file name.)
  216. X  If there is no current file name, it will be set to the name specified
  217. X  in the save.
  218. X***************
  219. X*** 195,206 ****
  220. X  will employ the current working directory.
  221. X  .TP
  222. X  .I Save & Quit
  223. X! Save the objects in the current file and exit from \fIxfig\fP.
  224. X  If there is no current file, the user will be asked for a file name.
  225. X  No confirmation will be asked.
  226. X  .TP
  227. X  .I Quit
  228. X! Exit from \fIxfig\fP, discarding all objects. The user will be asked to 
  229. X  confirm the action, by clicking the left button.
  230. X  .SH "BOTTOM PANEL COMMAND FUNCTIONS"
  231. X  Most of the buttons in the bottom panel are counterparts to the pop-up menu functions.
  232. X--- 204,219 ----
  233. X  will employ the current working directory.
  234. X  .TP
  235. X  .I Save & Quit
  236. X! Save the figure in the current file and exit from \fIxfig\fP.
  237. X  If there is no current file, the user will be asked for a file name.
  238. X  No confirmation will be asked.
  239. X  .TP
  240. X+ .I Save as Bitmap
  241. X+ Create an X11 bitmap from the figure the size of which is determined
  242. X+ by the enclosing rectangle of all the figure plus a small border.
  243. X+ .TP
  244. X  .I Quit
  245. X! Exit from \fIxfig\fP, discarding the figure. The user will be asked to 
  246. X  confirm the action, by clicking the left button.
  247. X  .SH "BOTTOM PANEL COMMAND FUNCTIONS"
  248. X  Most of the buttons in the bottom panel are counterparts to the pop-up menu functions.
  249. X***************
  250. X*** 208,220 ****
  251. X  (landscape or portrait) and the printer device itself.
  252. X  .SH "BOTTOM PANEL WINDOW COMMAND DESCRIPTIONS"
  253. X  .TP
  254. X- .I CHANGE TEXT
  255. X- Change existing text to current font, size and justification settings.
  256. X- .TP
  257. X  .I FONT SELECT
  258. X  This button pops up a menu of 35 fonts available for most Apple 
  259. X  Postscript printers.
  260. X! The name of the font appears in the font itself so that one may see 
  261. X  what that font looks like.
  262. X  If a corresponding X11 font exists, new text is created 
  263. X  on the canvas using that font.
  264. X--- 221,230 ----
  265. X  (landscape or portrait) and the printer device itself.
  266. X  .SH "BOTTOM PANEL WINDOW COMMAND DESCRIPTIONS"
  267. X  .TP
  268. X  .I FONT SELECT
  269. X  This button pops up a menu of 35 fonts available for most Apple 
  270. X  Postscript printers.
  271. X! The name of the font is printed in the font itself so that one may see 
  272. X  what that font looks like.
  273. X  If a corresponding X11 font exists, new text is created 
  274. X  on the canvas using that font.
  275. X***************
  276. X*** 246,252 ****
  277. X  clicking the left mouse button.  The selected icon is highlighted, and
  278. X  a message describing its function appears in the message window.
  279. X  .PP
  280. X! The left and middle buttons are used to creat and modify objects in the canvas
  281. X  window.  Most actions start with clicking of the left button
  282. X  and end with clicking of the middle button.
  283. X  There is no need to hold down a button while positioning
  284. X--- 256,262 ----
  285. X  clicking the left mouse button.  The selected icon is highlighted, and
  286. X  a message describing its function appears in the message window.
  287. X  .PP
  288. X! The left and middle buttons are used to create and modify objects in the canvas
  289. X  window.  Most actions start with clicking of the left button
  290. X  and end with clicking of the middle button.
  291. X  There is no need to hold down a button while positioning
  292. X***************
  293. X*** 292,309 ****
  294. X  The radius of the corners is selected by the INCREASE/DECREASE RADIUS button.
  295. X  .TP
  296. X  .I BREAK COMPOUND
  297. X! Break  a compound object to allow manipulation of its component parts.
  298. X  Click the left button on the bounding box of
  299. X  the compound object.
  300. X  .TP
  301. X! .I CHANGE LINE STYLE OF EXISTING OBJECT
  302. X! Click left button on an object and the line style will change to the currently
  303. X! selected style.
  304. X  .TP
  305. X- .I CHANGE LINE THICKNESS OF EXISTING OBJECT
  306. X- Click left button on an object and the line thickness will change 
  307. X- to the currently selected thickness.
  308. X- .TP
  309. X  .I CIRCLE 
  310. X  Create circles by specifying their radii or diameters.
  311. X  Click the left button on the canvas window, move the cursor until the
  312. X--- 302,323 ----
  313. X  The radius of the corners is selected by the INCREASE/DECREASE RADIUS button.
  314. X  .TP
  315. X  .I BREAK COMPOUND
  316. X! Break a compound object to allow manipulation of its component parts.
  317. X  Click the left button on the bounding box of
  318. X  the compound object.
  319. X  .TP
  320. X! .I CHANGE OBJECT
  321. X! Change settings for an existing object.
  322. X! Click the left button on the object and a pop-up menu will appear
  323. X! showing existing settings for the object.  Some of the menu entries
  324. X! may be changed by typing new values in the appropriate windows. These
  325. X! allow cut and paste.
  326. X! Others pop up a sub-menu of multiple choices when pressed and held.
  327. X! Press the "done" button to apply the changes to the object and finish.
  328. X! Press the "apply" button to apply the changes but keep the menu up for
  329. X! further changes.  Press the "cancel" button to cancel the changes and 
  330. X! pop down the menu.
  331. X  .TP
  332. X  .I CIRCLE 
  333. X  Create circles by specifying their radii or diameters.
  334. X  Click the left button on the canvas window, move the cursor until the
  335. X***************
  336. X*** 341,346 ****
  337. X--- 355,365 ----
  338. X  .I ELLIPSE
  339. X  Create ellipses using the same procedure as for the drawing of circles.
  340. X  .TP
  341. X+ .I FLIP
  342. X+ Invert the object (middle button) or produce a mirror-image copy of an
  343. X+ object (left button). Point to part of the object ("the handle"), click
  344. X+ the appropriate button.
  345. X+ .TP
  346. X  .I GLUE
  347. X  Glue the objects within a bounding box into a compound object
  348. X  (the bounding box itself is not part of the figure; 
  349. X***************
  350. X*** 388,393 ****
  351. X--- 407,415 ----
  352. X  .I REMOVE
  353. X  Remove (or delete) objects.
  354. X  .TP
  355. X+ .I ROTATE
  356. X+ Rotate the object (middle button) or copy (left button) +90 degrees.
  357. X+ .TP
  358. X  .I SCALE COMPOUND
  359. X  Only compound objects can be scaled.  Click the left button
  360. X  on a corner of the bounding box, stretch the
  361. X***************
  362. X*** 423,436 ****
  363. X  Automatically add forward/backward arrow heads to \fIPOLYLINE\fP, \fISPLINE\fP
  364. X  or \fIARC\fP objects.
  365. X  .TP
  366. X- .I FLIP
  367. X- Invert the object (middle button) or produce a mirror-image copy of an
  368. X- object (left button). Point to part of the object ("the handle"), click
  369. X- the appropriate button.
  370. X- .TP
  371. X- .I GRID
  372. X- Display either the quarter- or half-inch grids (left button).
  373. X- .TP
  374. X  .I MAGNET
  375. X  Round points to the nearest 1/16 of an inch.
  376. X  This affects every function, and is provided as an alignment aid.
  377. X--- 445,450 ----
  378. X***************
  379. X*** 438,443 ****
  380. X--- 452,465 ----
  381. X  .I UNRESTRICTED
  382. X  Allow lines to be drawn with any slope.
  383. X  .TP
  384. X+ .I LATEX LINE
  385. X+ Allow lines to be drawn only at slopes which can be handled by LaTeX picture
  386. X+ environment lines: slope = x/y, where x,y are integers in the range [-6,6].
  387. X+ .TP
  388. X+ .I LATEX VECTOR
  389. X+ Allow lines to be drawn only at slopes which can be handled by LaTeX picture
  390. X+ environment vectors: slope = x/y, where x,y are integers in the range [-4,4].
  391. X+ .TP
  392. X  .I MANHATTAN
  393. X  Enforce drawing of lines in the horizontal and vertical direction only.
  394. X  Both \fIMANHATTAN\fP and \fIMOUNTAIN\fP can be turned on simultaneously. The
  395. X***************
  396. X*** 454,476 ****
  397. X  Allow lines to be drawn at any slope allowed when in
  398. X  MOUNTAIN or MANHATTAN modes.
  399. X  .TP
  400. X! .I ROTATE
  401. X! Rotate the object (middle button) or copy (left button) +90 degrees.
  402. X  .TP
  403. X  .I SOLID/DASHED/DOTTED LINE STYLE
  404. X  Toggle between solid, dashed and dotted line styles. The dash length
  405. X  is fixed at 0.05 inch.
  406. X- .PP
  407. X- If \fIxfig\fP is compiled with the -DTFX option (TransFig compatibility)
  408. X- then the following two buttons are available:
  409. X- .TP
  410. X- .I LATEX LINE
  411. X- Allow lines to be drawn only at slopes which can be handled by LaTeX picture
  412. X- environment lines: slope = x/y, where x,y are integers in the range [-6,6].
  413. X- .TP
  414. X- .I LATEX VECTOR
  415. X- Allow lines to be drawn only at slopes which can be handled by LaTeX picture
  416. X- environment vectors: slope = x/y, where x,y are integers in the range [-4,4].
  417. X  .SH X DEFAULTS
  418. X  The overall widget name(Class) is xfig.fig(Fig.TopLevelShell).  This
  419. X  set of resources correspond to the command line arguments:
  420. X--- 476,487 ----
  421. X  Allow lines to be drawn at any slope allowed when in
  422. X  MOUNTAIN or MANHATTAN modes.
  423. X  .TP
  424. X! .I GRID
  425. X! Display either the quarter- or half-inch grids (left button).
  426. X  .TP
  427. X  .I SOLID/DASHED/DOTTED LINE STYLE
  428. X  Toggle between solid, dashed and dotted line styles. The dash length
  429. X  is fixed at 0.05 inch.
  430. X  .SH X DEFAULTS
  431. X  The overall widget name(Class) is xfig.fig(Fig.TopLevelShell).  This
  432. X  set of resources correspond to the command line arguments:
  433. X***************
  434. X*** 532,549 ****
  435. X  message window
  436. X  form.message(Form.Command)
  437. X  .TP
  438. X! menu
  439. X  form.popup_menu.menu(Form.OverrideShell.Box)
  440. X  .TP
  441. X! menu title
  442. X  form.popup_menu.menu.title(Form.OverrideShell.Box.Label)
  443. X  .TP
  444. X! menu items
  445. X  form.popup_menu.menu.pane(Form.OverrideShell.Box.Command)
  446. X  .TP
  447. X  font menu
  448. X  form.font_menu.menu(Form.OverrideShell.Box)
  449. X  .TP
  450. X  indicator panel
  451. X  form.indicator(Form.Box)
  452. X  .TP
  453. X--- 543,563 ----
  454. X  message window
  455. X  form.message(Form.Command)
  456. X  .TP
  457. X! command menu
  458. X  form.popup_menu.menu(Form.OverrideShell.Box)
  459. X  .TP
  460. X! command menu title
  461. X  form.popup_menu.menu.title(Form.OverrideShell.Box.Label)
  462. X  .TP
  463. X! command menu items
  464. X  form.popup_menu.menu.pane(Form.OverrideShell.Box.Command)
  465. X  .TP
  466. X  font menu
  467. X  form.font_menu.menu(Form.OverrideShell.Box)
  468. X  .TP
  469. X+ change menu
  470. X+ change.form(TransientShell.Form)
  471. X+ .TP
  472. X  indicator panel
  473. X  form.indicator(Form.Box)
  474. X  .TP
  475. X***************
  476. X*** 566,579 ****
  477. X  screen.
  478. X  .PP
  479. X  Undoing the creation of a compound object deletes the objects
  480. X! inside the compound object.  Undoing the undo doesn't bring them back.
  481. X  .PP
  482. X  Ellipses which are too narrow are not drawn correctly.
  483. X- .PP
  484. X- Objects which are created while one of the 
  485. X- .I grids
  486. X- is on may appear ragged. This can be corrected by selecting \fIRedisplay\fP
  487. X- from the pop-up menu.
  488. X  .SH "SEE ALSO"
  489. X  Brian W. Kernighan
  490. X  .I "PIC - A Graphics Language for Typesetting User Manual"
  491. X--- 580,588 ----
  492. X  screen.
  493. X  .PP
  494. X  Undoing the creation of a compound object deletes the objects
  495. X! outside the compound object.  Undoing the undo doesn't bring them back.
  496. X  .PP
  497. X  Ellipses which are too narrow are not drawn correctly.
  498. X  .SH "SEE ALSO"
  499. X  Brian W. Kernighan
  500. X  .I "PIC - A Graphics Language for Typesetting User Manual"
  501. X***************
  502. X*** 640,642 ****
  503. X--- 649,662 ----
  504. X  (standard disclaimer applies)
  505. X  .br
  506. X  (bvsmith@lbl.gov)
  507. X+ .sp
  508. X+ Popup change-object menu by:
  509. X+ .br
  510. X+ Jon Tombs
  511. X+ (jon%robots.oxford.ac.uk@nsfnet-relay.ac.uk)
  512. X+ .br
  513. X+ and
  514. X+ .br
  515. X+ Frank Schmuck 
  516. X+ .br
  517. X+ (schmuck@svax.cs.cornell.edu)
  518. END_OF_FILE
  519. if test 16394 -ne `wc -c <'xfig.man.diff'`; then
  520.     echo shar: \"'xfig.man.diff'\" unpacked with wrong size!
  521. fi
  522. # end of 'xfig.man.diff'
  523. fi
  524. echo shar: End of archive 5 \(of 6\).
  525. cp /dev/null ark5isdone
  526. MISSING=""
  527. for I in 1 2 3 4 5 6 ; do
  528.     if test ! -f ark${I}isdone ; then
  529.     MISSING="${MISSING} ${I}"
  530.     fi
  531. done
  532. if test "${MISSING}" = "" ; then
  533.     echo You have unpacked all 6 archives.
  534.     rm -f ark[1-9]isdone
  535. else
  536.     echo You still need to unpack the following archives:
  537.     echo "        " ${MISSING}
  538. fi
  539. ##  End of shell archive.
  540. exit 0
  541.  
  542. dan
  543. -----------------------------------------------------------
  544.             O'Reilly && Associates
  545.         argv@sun.com / argv@ora.com
  546.        632 Petaluma Ave, Sebastopol, CA 95472 
  547.      800-338-NUTS, in CA: 800-533-NUTS, FAX 707-829-0104
  548.     Opinions expressed reflect those of the author only.
  549.